package org.liuyunfeng.config;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author: TanJingyu
 * @create: 2022-09-06 11:27
 **/
//@Component
public class ScheculingTestComponent {

    @Scheduled(fixedRate = 10000)
    private void test() {
        System.out.println("定时任务测试，hahaha");
    }
}

    